package com.cium.aqie.myClass

/**
 * @Function:
 * @Author: aqie
 * @Date: 2019/8/29 17:10
 */
class MyIntList {
    private val list = ArrayList<Int>()

    fun add(int : Int){
        list.add(int)
    }

    fun remove(int: Int){
        list.remove(int)
    }

    operator fun iterator(): MyIterator{
        return MyIterator(list.iterator())
    }
}